Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Jan U. Hasecke
er > [before=\blank\blackrule\startnarrower\BufferStyle, > after=\stopnarrower\blackrule\blank] > > %% alternatively define custom buffers > \definebuffer > [foobar] > > \setupblackrules > [width=1cm, >height=1pt, >color=gray] > > \defi

Re: [NTG-context] Styling of included buffers or files

2020-05-17 Thread Marco Patzer
er has before and after keys which can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] %% alternatively define custom buffers \definebuffer [foobar] \setupblackrules [width=1cm, height=1pt, color=gray] \definehighli

Re: [NTG-context] hairline & rules

2018-06-16 Thread Marco Patzer
; or > \hairline[color=red] \setupblackrules [height=1pt, color=blue, width=\textwidth] \starttext \blackrule \blackrule [color=red, height=1ex, width=5cm] \stoptext http://wiki.contextgard

Re: [NTG-context] \defineparagraphs

2016-07-09 Thread Wolfgang Schuster
hanges the vertical position of the content (by putting it into an \hbox and changing the height/depth values). \setupblackrules[width=2cm,height=2cm] \setuplayout[grid=yes]\showgrid \starttext XXX {\blackrule} XXX \tbox{\blackrule} XXX \bbox{\blackrule} XXX \stoptext Wo

Re: [NTG-context] MkIV problem+fix with \framed[location=depth / height / hanging]

2013-05-15 Thread Hans Hagen
On 5/14/2013 11:00 PM, Sietse Brouwer wrote: \setupcolors[state=start] this is no longer needed in mkiv where colors are enabled by default \setupblackrules[depth=\strutdepth,height=\strutheight,width=1mm,color=red] ... .. added to test zip

[NTG-context] MkIV problem+fix with \framed[location=depth / height / hanging]

2013-05-14 Thread Sietse Brouwer
[state=start] \setupblackrules[depth=\strutdepth,height=\strutheight,width=1mm,color=red] \starttext \ruledhbox {A \framed[width=2cm,align=middle,location=] {location\\equals\\(nothing)}% \blackrule \framed[width=2cm,align=middle,location=depth] {location\\equals\\depth

[NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
. For the prefix value it works. \setupblackrules [width=4cm, height=1cm] %% prefix is applied, way is not \setupcaptions [prefix=no, way=bytext] %% prefix and way are applied %% \setupcaption %% [figure, table] %% [prefix=no, %%way=bytext] \starttext \dorecurse{2}{% \startchapter

[NTG-context] way setting does not work in \setupcaptions

2012-10-20 Thread Marco Patzer
Hi, the `way` setting cannot be applied globally to all floats using `\setupcaptions`. For the `prefix` value it works. Can this be fixed? \setupblackrules [width=4cm, height=1cm] %% prefix is applied, way is not %% \setupcaptions %% [prefix=no, %% way=bytext] %% prefix and way is applied

[NTG-context] Automatic margin floats using the criterium parameter

2012-09-05 Thread Marco Patzer
of how it should look like. I could come up with a hackish solution on my own but maybe someone has an idea how to achieve this with built-in support. Marco floatmargin.pdf Description: Adobe PDF document \setupexternalfigures [height=2cm] \setupblackrules [height=2cm] \def\graph

[NTG-context] vertical distance in combinations

2012-08-13 Thread Peter Rolf
Hi, the following code does not work in mkiv (also tested with latest beta). \setuppagenumber[state=stop] \starttext \setupcombinations[distance=10mm,inbetween=\vskip10mm] %\setupcombinations[distance=10mm,inbetween={\blank[10mm]}] \setupblackrules[width=40mm,height=40mm] \startcombination[2

Re: [NTG-context] vertical distance in combinations

2012-08-13 Thread Wolfgang Schuster
[10mm]}] \setupblackrules[width=40mm,height=40mm] \startcombination[2*2] {\blackrule}{} {\blackrule}{} {\blackrule}{} {\blackrule}{} \stopcombination \stoptext The inbetween key controls the space between the content and caption of a entry, the vertical distance between the entries

Re: [NTG-context] vertical distance in combinations

2012-08-13 Thread Peter Rolf
] %\setupcombinations[distance=10mm,inbetween={\blank[10mm]}] \setupblackrules[width=40mm,height=40mm] \startcombination[2*2] {\blackrule}{} {\blackrule}{} {\blackrule}{} {\blackrule}{} \stopcombination \stoptext The inbetween key controls the space between the content and caption of a entry

[NTG-context] difference between a and b alternatives in \blackrule

2010-04-11 Thread Vyatcheslav Yatskovsky
Hello, What is the difference between a and b alternatives in \blackrule? http://wiki.contextgarden.net/Reference/en/setupblackrules#Description Regards, Vyatcheslav ___ If your question is of interest to others

Re: [NTG-context] difference between a and b alternatives in \blackrule

2010-04-11 Thread Wolfgang Schuster
Am 12.04.10 00:07, schrieb Vyatcheslav Yatskovsky: Hello, What is the difference between a and b alternatives in \blackrule? http://wiki.contextgarden.net/Reference/en/setupblackrules#Description Can you see it? \setupblackrules[width=2cm] \starttext text \blackrules[alternative=a] tex\par

Re: [NTG-context] coloring rules

2010-01-23 Thread Hans van der Meer
, \blackrules can be of any color. The default options are \setupblackrules [\c!n=3, \c!width=1em, \c!height=1ex, \c!depth=\!!zeropoint, \c!alternative=\c!a, \c!distance=.25ex, \c!color=] Aditya ___ If your

Re: [NTG-context] coloring rules

2010-01-21 Thread Aditya Mahajan
]? %D These \blackrules[alternativevariant=b,n=10,distance=.2em,width=4cm] are quite clear. %D \stopbuffer Despite its name, \blackrules can be of any color. The default options are \setupblackrules [\c!n=3, \c!width=1em, \c!height=1ex, \c!depth=\!!zeropoint, \c!alternative=\c

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Å uklje
# \setlayerframed # \setlocalhsize # \setstrut \settextvariable[name]{text} \setupalign[options] \setuparranging[options] # \setupattachments \setupbackground[options] \setupbackgrounds[position][position][state][settings] \setupblackrules[options] \setupblank[options] \setupblock[names][options

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-12 Thread Mojca Miklavec
\setupblackrules[alternative=c] would mark c as invalid (only a and b are possible). And already the first obstacle I came across: How can I define a regexp matching the [ ... ] area? Note that \firstcommand[ command={\secondcommand[x]}, text=$]$ ] Quite some work to do ... but perhaps doable one